package io.renren.modules.poschangetest.controller;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.renren.common.utils.R;
import io.renren.modules.poschangerecord.entity.PoschangerecordtableEntity;
import io.renren.modules.poschangerecord.service.PoschangerecordtableService;
import io.renren.modules.poschangetest.entity.PoschangetestEntity;
import io.renren.modules.poschangetest.service.PoschangetestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.Arrays;
import java.util.List;
import java.util.Map;
@RestController
@RequestMapping("poschangetest/poschangetest")
public class PoschangetestController {
    @Autowired
    private PoschangetestService poschangetestService;

    @GetMapping("testin")
    public List<PoschangetestEntity> testin(){
        return poschangetestService.selectAll();
    }


    @GetMapping("testout")
    public List<PoschangetestEntity> testout(){
        return poschangetestService.selectAllOut();
    }
}
